package com.impc.service.impl;

import com.impc.mapper.SysUserMapper;
import com.impc.model.table.SysUser;
import com.impc.service.UserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class UserServiceImpl implements UserService {

    @Autowired
    private SysUserMapper sysUserMapper;

    @Override
    public SysUser login(String username, String password) {
        return sysUserMapper.login(username,password);
    }
}
